vendor/golang.org/x/net/dns/dnsmessage.Resource.pack (method)

4 uses

	vendor/golang.org/x/net/dns/dnsmessage (current package)
		message.go#L504: func (r *Resource) pack(msg []byte, compression map[string]int, compressionOff int) ([]byte, error) {
		message.go#L1135: 		if msg, err = m.Answers[i].pack(msg, compression, compressionOff); err != nil {
		message.go#L1141: 		if msg, err = m.Authorities[i].pack(msg, compression, compressionOff); err != nil {
		message.go#L1147: 		if msg, err = m.Additionals[i].pack(msg, compression, compressionOff); err != nil {